From: Florian Eckert Date: Tue, 12 Apr 2022 11:01:14 +0000 (+0200) Subject: luci-mod-system: mount sections are always mounted unless they are explicitly not... X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=004e47c1a05b3361a39f01115ab2745d115707f9;p=project%2Fluci.git luci-mod-system: mount sections are always mounted unless they are explicitly not mounted fixes #4862 Signed-off-by: Florian Eckert (cherry picked from commit 5abb2847ba7267a2c9cdbcb8ef506f0be7015047) --- diff --git a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js index f8c9dfd129..7c26bf060a 100644 --- a/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js +++ b/modules/luci-mod-system/htdocs/luci-static/resources/view/system/mounts.js @@ -242,6 +242,7 @@ return view.extend({ o = s.taboption('general', form.Flag, 'enabled', _('Enabled')); o.rmempty = false; + o.default = true; o.editable = true; o = s.taboption('general', form.DummyValue, '_device', _('Device'));